package com.example.entity;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class ShareEntity implements Serializable{

	private int id;// id编号

	private int uid;// 用户id

	private int typeId;// 默认1，说明是原创，2说明是推荐（转发）

	private String nickname;// 当前用户名

	private int communityid;

	private String title;// 当前用户的推荐时候的评论

	private String forwardtitle;// 上一个人推荐时的评论

	private String forwardnickname;// 上一个人的名字，当前用户是从这个人这里转发的

	private int origintid;// 原创分享的id，用于pc端

	private String origintnickname;// 原创人的姓名

	private String txt;// 分享的原文

	private int dateline;// 分享时间

	private int modifytime;// 转发时间

	private int like;// 赞数量

	private int forward;// 转发数量

	private int reply;// 多少人回复

	private String location;// 分享人位置

	private List<BlogPic> picList;// 用户上传的照片集合

	private String headPic;// 用户的头像
	
	private boolean isPraised;

	public boolean isPraised() {
		return isPraised;
	}

	public void setPraised(boolean isPraised) {
		this.isPraised = isPraised;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getCommunityid() {
		return communityid;
	}

	public void setCommunityid(int communityid) {
		this.communityid = communityid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getForwardtitle() {
		return forwardtitle;
	}

	public void setForwardtitle(String forwardtitle) {
		this.forwardtitle = forwardtitle;
	}

	public String getForwardnickname() {
		return forwardnickname;
	}

	public void setForwardnickname(String forwardnickname) {
		this.forwardnickname = forwardnickname;
	}

	public int getOrigintid() {
		return origintid;
	}

	public void setOrigintid(int origintid) {
		this.origintid = origintid;
	}

	public String getOrigintnickname() {
		return origintnickname;
	}

	public void setOrigintnickname(String origintnickname) {
		this.origintnickname = origintnickname;
	}

	public String getTxt() {
		return txt;
	}

	public void setTxt(String txt) {
		this.txt = txt;
	}

	public int getDateline() {
		return dateline;
	}

	public void setDateline(int dateline) {
		this.dateline = dateline;
	}

	public int getModifytime() {
		return modifytime;
	}

	public void setModifytime(int modifytime) {
		this.modifytime = modifytime;
	}

	public int getLike() {
		return like;
	}

	public void setLike(int like) {
		this.like = like;
	}

	public int getForward() {
		return forward;
	}

	public void setForward(int forward) {
		this.forward = forward;
	}

	public int getReply() {
		return reply;
	}

	public void setReply(int reply) {
		this.reply = reply;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public List<BlogPic> getPicList() {
		return picList;
	}

	public void setPicList(List<BlogPic> picList) {
		this.picList = picList;
	}

	public String getHeadPic() {
		return headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}
}
